/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.lambkit.module.upms.sql;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2022-09-23
 * @version 1.0
 * @since 1.0
 */
public class UpmsUserAccountSqlBuilder extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static UpmsUserAccountSqlBuilder create() {
		return new UpmsUserAccountSqlBuilder();
	}
	
	public static UpmsUserAccountSqlBuilder create(Column column) {
		UpmsUserAccountSqlBuilder that = new UpmsUserAccountSqlBuilder();
		that.add(column);
        return that;
    }

    public static UpmsUserAccountSqlBuilder create(String name, Object value) {
        return (UpmsUserAccountSqlBuilder) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("upms_user_account", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public UpmsUserAccountSqlBuilder eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public UpmsUserAccountSqlBuilder ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public UpmsUserAccountSqlBuilder like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public UpmsUserAccountSqlBuilder notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public UpmsUserAccountSqlBuilder gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public UpmsUserAccountSqlBuilder ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public UpmsUserAccountSqlBuilder lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public UpmsUserAccountSqlBuilder le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public UpmsUserAccountSqlBuilder isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public UpmsUserAccountSqlBuilder notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public UpmsUserAccountSqlBuilder empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public UpmsUserAccountSqlBuilder notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public UpmsUserAccountSqlBuilder add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public UpmsUserAccountSqlBuilder andIdIsNull() {
		isnull("id");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andIdIsNotNull() {
		notNull("id");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andIdIsEmpty() {
		empty("id");
		return this;
	}

	public UpmsUserAccountSqlBuilder andIdIsNotEmpty() {
		notEmpty("id");
		return this;
	}
       public UpmsUserAccountSqlBuilder andIdEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andIdNotEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.NOT_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andIdGreaterThan(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.GREATER_THEN, "id", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.GREATER_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andIdLessThan(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.LESS_THEN, "id", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.LESS_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("id", value1, value2, ConditionMode.BETWEEN, "id", "java.lang.Long", "Float");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("id", value1, value2, ConditionMode.NOT_BETWEEN, "id", "java.lang.Long", "Float");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andIdIn(List<java.lang.Long> values) {
          addCriterion("id", values, ConditionMode.IN, "id", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andIdNotIn(List<java.lang.Long> values) {
          addCriterion("id", values, ConditionMode.NOT_IN, "id", "java.lang.Long", "Float");
          return this;
      }
	public UpmsUserAccountSqlBuilder andUserIdIsNull() {
		isnull("user_id");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andUserIdIsNotNull() {
		notNull("user_id");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andUserIdIsEmpty() {
		empty("user_id");
		return this;
	}

	public UpmsUserAccountSqlBuilder andUserIdIsNotEmpty() {
		notEmpty("user_id");
		return this;
	}
       public UpmsUserAccountSqlBuilder andUserIdEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserIdNotEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.NOT_EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserIdGreaterThan(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.GREATER_THEN, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.GREATER_EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserIdLessThan(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.LESS_THEN, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("user_id", value, ConditionMode.LESS_EQUAL, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("user_id", value1, value2, ConditionMode.BETWEEN, "userId", "java.lang.Long", "Float");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andUserIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("user_id", value1, value2, ConditionMode.NOT_BETWEEN, "userId", "java.lang.Long", "Float");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andUserIdIn(List<java.lang.Long> values) {
          addCriterion("user_id", values, ConditionMode.IN, "userId", "java.lang.Long", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserIdNotIn(List<java.lang.Long> values) {
          addCriterion("user_id", values, ConditionMode.NOT_IN, "userId", "java.lang.Long", "Float");
          return this;
      }
	public UpmsUserAccountSqlBuilder andPhoneIsNull() {
		isnull("phone");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andPhoneIsNotNull() {
		notNull("phone");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andPhoneIsEmpty() {
		empty("phone");
		return this;
	}

	public UpmsUserAccountSqlBuilder andPhoneIsNotEmpty() {
		notEmpty("phone");
		return this;
	}
        public UpmsUserAccountSqlBuilder andPhoneLike(java.lang.String value) {
    	   addCriterion("phone", value, ConditionMode.FUZZY, "phone", "java.lang.String", "Float");
    	   return this;
      }

      public UpmsUserAccountSqlBuilder andPhoneNotLike(java.lang.String value) {
          addCriterion("phone", value, ConditionMode.NOT_FUZZY, "phone", "java.lang.String", "Float");
          return this;
      }
      public UpmsUserAccountSqlBuilder andPhoneEqualTo(java.lang.String value) {
          addCriterion("phone", value, ConditionMode.EQUAL, "phone", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andPhoneNotEqualTo(java.lang.String value) {
          addCriterion("phone", value, ConditionMode.NOT_EQUAL, "phone", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andPhoneGreaterThan(java.lang.String value) {
          addCriterion("phone", value, ConditionMode.GREATER_THEN, "phone", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andPhoneGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("phone", value, ConditionMode.GREATER_EQUAL, "phone", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andPhoneLessThan(java.lang.String value) {
          addCriterion("phone", value, ConditionMode.LESS_THEN, "phone", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andPhoneLessThanOrEqualTo(java.lang.String value) {
          addCriterion("phone", value, ConditionMode.LESS_EQUAL, "phone", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andPhoneBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("phone", value1, value2, ConditionMode.BETWEEN, "phone", "java.lang.String", "String");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andPhoneNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("phone", value1, value2, ConditionMode.NOT_BETWEEN, "phone", "java.lang.String", "String");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andPhoneIn(List<java.lang.String> values) {
          addCriterion("phone", values, ConditionMode.IN, "phone", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andPhoneNotIn(List<java.lang.String> values) {
          addCriterion("phone", values, ConditionMode.NOT_IN, "phone", "java.lang.String", "String");
          return this;
      }
	public UpmsUserAccountSqlBuilder andTypeIsNull() {
		isnull("type");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andTypeIsNotNull() {
		notNull("type");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andTypeIsEmpty() {
		empty("type");
		return this;
	}

	public UpmsUserAccountSqlBuilder andTypeIsNotEmpty() {
		notEmpty("type");
		return this;
	}
       public UpmsUserAccountSqlBuilder andTypeEqualTo(java.lang.Integer value) {
          addCriterion("type", value, ConditionMode.EQUAL, "type", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andTypeNotEqualTo(java.lang.Integer value) {
          addCriterion("type", value, ConditionMode.NOT_EQUAL, "type", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andTypeGreaterThan(java.lang.Integer value) {
          addCriterion("type", value, ConditionMode.GREATER_THEN, "type", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andTypeGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("type", value, ConditionMode.GREATER_EQUAL, "type", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andTypeLessThan(java.lang.Integer value) {
          addCriterion("type", value, ConditionMode.LESS_THEN, "type", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andTypeLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("type", value, ConditionMode.LESS_EQUAL, "type", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andTypeBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("type", value1, value2, ConditionMode.BETWEEN, "type", "java.lang.Integer", "Float");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andTypeNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("type", value1, value2, ConditionMode.NOT_BETWEEN, "type", "java.lang.Integer", "Float");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andTypeIn(List<java.lang.Integer> values) {
          addCriterion("type", values, ConditionMode.IN, "type", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andTypeNotIn(List<java.lang.Integer> values) {
          addCriterion("type", values, ConditionMode.NOT_IN, "type", "java.lang.Integer", "Float");
          return this;
      }
	public UpmsUserAccountSqlBuilder andUserNameIsNull() {
		isnull("user_name");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andUserNameIsNotNull() {
		notNull("user_name");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andUserNameIsEmpty() {
		empty("user_name");
		return this;
	}

	public UpmsUserAccountSqlBuilder andUserNameIsNotEmpty() {
		notEmpty("user_name");
		return this;
	}
        public UpmsUserAccountSqlBuilder andUserNameLike(java.lang.String value) {
    	   addCriterion("user_name", value, ConditionMode.FUZZY, "userName", "java.lang.String", "Float");
    	   return this;
      }

      public UpmsUserAccountSqlBuilder andUserNameNotLike(java.lang.String value) {
          addCriterion("user_name", value, ConditionMode.NOT_FUZZY, "userName", "java.lang.String", "Float");
          return this;
      }
      public UpmsUserAccountSqlBuilder andUserNameEqualTo(java.lang.String value) {
          addCriterion("user_name", value, ConditionMode.EQUAL, "userName", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserNameNotEqualTo(java.lang.String value) {
          addCriterion("user_name", value, ConditionMode.NOT_EQUAL, "userName", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserNameGreaterThan(java.lang.String value) {
          addCriterion("user_name", value, ConditionMode.GREATER_THEN, "userName", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserNameGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("user_name", value, ConditionMode.GREATER_EQUAL, "userName", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserNameLessThan(java.lang.String value) {
          addCriterion("user_name", value, ConditionMode.LESS_THEN, "userName", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserNameLessThanOrEqualTo(java.lang.String value) {
          addCriterion("user_name", value, ConditionMode.LESS_EQUAL, "userName", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserNameBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("user_name", value1, value2, ConditionMode.BETWEEN, "userName", "java.lang.String", "String");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andUserNameNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("user_name", value1, value2, ConditionMode.NOT_BETWEEN, "userName", "java.lang.String", "String");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andUserNameIn(List<java.lang.String> values) {
          addCriterion("user_name", values, ConditionMode.IN, "userName", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUserNameNotIn(List<java.lang.String> values) {
          addCriterion("user_name", values, ConditionMode.NOT_IN, "userName", "java.lang.String", "String");
          return this;
      }
	public UpmsUserAccountSqlBuilder andUnionidIsNull() {
		isnull("unionid");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andUnionidIsNotNull() {
		notNull("unionid");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andUnionidIsEmpty() {
		empty("unionid");
		return this;
	}

	public UpmsUserAccountSqlBuilder andUnionidIsNotEmpty() {
		notEmpty("unionid");
		return this;
	}
        public UpmsUserAccountSqlBuilder andUnionidLike(java.lang.String value) {
    	   addCriterion("unionid", value, ConditionMode.FUZZY, "unionid", "java.lang.String", "String");
    	   return this;
      }

      public UpmsUserAccountSqlBuilder andUnionidNotLike(java.lang.String value) {
          addCriterion("unionid", value, ConditionMode.NOT_FUZZY, "unionid", "java.lang.String", "String");
          return this;
      }
      public UpmsUserAccountSqlBuilder andUnionidEqualTo(java.lang.String value) {
          addCriterion("unionid", value, ConditionMode.EQUAL, "unionid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUnionidNotEqualTo(java.lang.String value) {
          addCriterion("unionid", value, ConditionMode.NOT_EQUAL, "unionid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUnionidGreaterThan(java.lang.String value) {
          addCriterion("unionid", value, ConditionMode.GREATER_THEN, "unionid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUnionidGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("unionid", value, ConditionMode.GREATER_EQUAL, "unionid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUnionidLessThan(java.lang.String value) {
          addCriterion("unionid", value, ConditionMode.LESS_THEN, "unionid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUnionidLessThanOrEqualTo(java.lang.String value) {
          addCriterion("unionid", value, ConditionMode.LESS_EQUAL, "unionid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUnionidBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("unionid", value1, value2, ConditionMode.BETWEEN, "unionid", "java.lang.String", "String");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andUnionidNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("unionid", value1, value2, ConditionMode.NOT_BETWEEN, "unionid", "java.lang.String", "String");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andUnionidIn(List<java.lang.String> values) {
          addCriterion("unionid", values, ConditionMode.IN, "unionid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUnionidNotIn(List<java.lang.String> values) {
          addCriterion("unionid", values, ConditionMode.NOT_IN, "unionid", "java.lang.String", "String");
          return this;
      }
	public UpmsUserAccountSqlBuilder andOpenidIsNull() {
		isnull("openid");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andOpenidIsNotNull() {
		notNull("openid");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andOpenidIsEmpty() {
		empty("openid");
		return this;
	}

	public UpmsUserAccountSqlBuilder andOpenidIsNotEmpty() {
		notEmpty("openid");
		return this;
	}
        public UpmsUserAccountSqlBuilder andOpenidLike(java.lang.String value) {
    	   addCriterion("openid", value, ConditionMode.FUZZY, "openid", "java.lang.String", "String");
    	   return this;
      }

      public UpmsUserAccountSqlBuilder andOpenidNotLike(java.lang.String value) {
          addCriterion("openid", value, ConditionMode.NOT_FUZZY, "openid", "java.lang.String", "String");
          return this;
      }
      public UpmsUserAccountSqlBuilder andOpenidEqualTo(java.lang.String value) {
          addCriterion("openid", value, ConditionMode.EQUAL, "openid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andOpenidNotEqualTo(java.lang.String value) {
          addCriterion("openid", value, ConditionMode.NOT_EQUAL, "openid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andOpenidGreaterThan(java.lang.String value) {
          addCriterion("openid", value, ConditionMode.GREATER_THEN, "openid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andOpenidGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("openid", value, ConditionMode.GREATER_EQUAL, "openid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andOpenidLessThan(java.lang.String value) {
          addCriterion("openid", value, ConditionMode.LESS_THEN, "openid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andOpenidLessThanOrEqualTo(java.lang.String value) {
          addCriterion("openid", value, ConditionMode.LESS_EQUAL, "openid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andOpenidBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("openid", value1, value2, ConditionMode.BETWEEN, "openid", "java.lang.String", "String");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andOpenidNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("openid", value1, value2, ConditionMode.NOT_BETWEEN, "openid", "java.lang.String", "String");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andOpenidIn(List<java.lang.String> values) {
          addCriterion("openid", values, ConditionMode.IN, "openid", "java.lang.String", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andOpenidNotIn(List<java.lang.String> values) {
          addCriterion("openid", values, ConditionMode.NOT_IN, "openid", "java.lang.String", "String");
          return this;
      }
	public UpmsUserAccountSqlBuilder andCreateTimeIsNull() {
		isnull("create_time");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andCreateTimeIsNotNull() {
		notNull("create_time");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andCreateTimeIsEmpty() {
		empty("create_time");
		return this;
	}

	public UpmsUserAccountSqlBuilder andCreateTimeIsNotEmpty() {
		notEmpty("create_time");
		return this;
	}
       public UpmsUserAccountSqlBuilder andCreateTimeEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andCreateTimeNotEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.NOT_EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andCreateTimeGreaterThan(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.GREATER_THEN, "createTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andCreateTimeGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.GREATER_EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andCreateTimeLessThan(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.LESS_THEN, "createTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andCreateTimeLessThanOrEqualTo(java.util.Date value) {
          addCriterion("create_time", value, ConditionMode.LESS_EQUAL, "createTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andCreateTimeBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("create_time", value1, value2, ConditionMode.BETWEEN, "createTime", "java.util.Date", "String");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andCreateTimeNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("create_time", value1, value2, ConditionMode.NOT_BETWEEN, "createTime", "java.util.Date", "String");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andCreateTimeIn(List<java.util.Date> values) {
          addCriterion("create_time", values, ConditionMode.IN, "createTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andCreateTimeNotIn(List<java.util.Date> values) {
          addCriterion("create_time", values, ConditionMode.NOT_IN, "createTime", "java.util.Date", "String");
          return this;
      }
	public UpmsUserAccountSqlBuilder andUpdateTimeIsNull() {
		isnull("update_time");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andUpdateTimeIsNotNull() {
		notNull("update_time");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andUpdateTimeIsEmpty() {
		empty("update_time");
		return this;
	}

	public UpmsUserAccountSqlBuilder andUpdateTimeIsNotEmpty() {
		notEmpty("update_time");
		return this;
	}
       public UpmsUserAccountSqlBuilder andUpdateTimeEqualTo(java.util.Date value) {
          addCriterion("update_time", value, ConditionMode.EQUAL, "updateTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUpdateTimeNotEqualTo(java.util.Date value) {
          addCriterion("update_time", value, ConditionMode.NOT_EQUAL, "updateTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUpdateTimeGreaterThan(java.util.Date value) {
          addCriterion("update_time", value, ConditionMode.GREATER_THEN, "updateTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUpdateTimeGreaterThanOrEqualTo(java.util.Date value) {
          addCriterion("update_time", value, ConditionMode.GREATER_EQUAL, "updateTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUpdateTimeLessThan(java.util.Date value) {
          addCriterion("update_time", value, ConditionMode.LESS_THEN, "updateTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUpdateTimeLessThanOrEqualTo(java.util.Date value) {
          addCriterion("update_time", value, ConditionMode.LESS_EQUAL, "updateTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUpdateTimeBetween(java.util.Date value1, java.util.Date value2) {
    	  addCriterion("update_time", value1, value2, ConditionMode.BETWEEN, "updateTime", "java.util.Date", "String");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andUpdateTimeNotBetween(java.util.Date value1, java.util.Date value2) {
          addCriterion("update_time", value1, value2, ConditionMode.NOT_BETWEEN, "updateTime", "java.util.Date", "String");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andUpdateTimeIn(List<java.util.Date> values) {
          addCriterion("update_time", values, ConditionMode.IN, "updateTime", "java.util.Date", "String");
          return this;
      }

      public UpmsUserAccountSqlBuilder andUpdateTimeNotIn(List<java.util.Date> values) {
          addCriterion("update_time", values, ConditionMode.NOT_IN, "updateTime", "java.util.Date", "String");
          return this;
      }
	public UpmsUserAccountSqlBuilder andStatusIsNull() {
		isnull("status");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andStatusIsNotNull() {
		notNull("status");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andStatusIsEmpty() {
		empty("status");
		return this;
	}

	public UpmsUserAccountSqlBuilder andStatusIsNotEmpty() {
		notEmpty("status");
		return this;
	}
       public UpmsUserAccountSqlBuilder andStatusEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andStatusNotEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.NOT_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andStatusGreaterThan(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.GREATER_THEN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andStatusGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.GREATER_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andStatusLessThan(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.LESS_THEN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andStatusLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("status", value, ConditionMode.LESS_EQUAL, "status", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andStatusBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("status", value1, value2, ConditionMode.BETWEEN, "status", "java.lang.Integer", "Float");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andStatusNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("status", value1, value2, ConditionMode.NOT_BETWEEN, "status", "java.lang.Integer", "Float");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andStatusIn(List<java.lang.Integer> values) {
          addCriterion("status", values, ConditionMode.IN, "status", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andStatusNotIn(List<java.lang.Integer> values) {
          addCriterion("status", values, ConditionMode.NOT_IN, "status", "java.lang.Integer", "Float");
          return this;
      }
	public UpmsUserAccountSqlBuilder andDelFlagIsNull() {
		isnull("del_flag");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andDelFlagIsNotNull() {
		notNull("del_flag");
		return this;
	}
	
	public UpmsUserAccountSqlBuilder andDelFlagIsEmpty() {
		empty("del_flag");
		return this;
	}

	public UpmsUserAccountSqlBuilder andDelFlagIsNotEmpty() {
		notEmpty("del_flag");
		return this;
	}
       public UpmsUserAccountSqlBuilder andDelFlagEqualTo(java.lang.Integer value) {
          addCriterion("del_flag", value, ConditionMode.EQUAL, "delFlag", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andDelFlagNotEqualTo(java.lang.Integer value) {
          addCriterion("del_flag", value, ConditionMode.NOT_EQUAL, "delFlag", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andDelFlagGreaterThan(java.lang.Integer value) {
          addCriterion("del_flag", value, ConditionMode.GREATER_THEN, "delFlag", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andDelFlagGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("del_flag", value, ConditionMode.GREATER_EQUAL, "delFlag", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andDelFlagLessThan(java.lang.Integer value) {
          addCriterion("del_flag", value, ConditionMode.LESS_THEN, "delFlag", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andDelFlagLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("del_flag", value, ConditionMode.LESS_EQUAL, "delFlag", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andDelFlagBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("del_flag", value1, value2, ConditionMode.BETWEEN, "delFlag", "java.lang.Integer", "Float");
    	  return this;
      }

      public UpmsUserAccountSqlBuilder andDelFlagNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("del_flag", value1, value2, ConditionMode.NOT_BETWEEN, "delFlag", "java.lang.Integer", "Float");
          return this;
      }
        
      public UpmsUserAccountSqlBuilder andDelFlagIn(List<java.lang.Integer> values) {
          addCriterion("del_flag", values, ConditionMode.IN, "delFlag", "java.lang.Integer", "Float");
          return this;
      }

      public UpmsUserAccountSqlBuilder andDelFlagNotIn(List<java.lang.Integer> values) {
          addCriterion("del_flag", values, ConditionMode.NOT_IN, "delFlag", "java.lang.Integer", "Float");
          return this;
      }
}